package io.geekidea.boot.allocation.sevice;

import com.baomidou.mybatisplus.extension.service.IService;
import io.geekidea.boot.allocation.dto.AllocationExcel;
import io.geekidea.boot.allocation.dto.addAllocation;
import io.geekidea.boot.allocation.entity.Allocation;
import io.geekidea.boot.allocation.query.AllocationQuery;
import io.geekidea.boot.allocation.query.MaterialQuery;
import io.geekidea.boot.materials.entity.Materials;
import io.geekidea.boot.otherstores.query.total;

import java.util.List;

public interface AllocationService extends IService<Allocation> {

    List<Allocation> getList(AllocationQuery allocationQuery);

    total getTotal(AllocationQuery allocationQuery);

    boolean addAllocation(addAllocation addAllocation);

    List<Materials> getWL(MaterialQuery materialQuery);

    Allocation getAllById(Integer id);

    List<AllocationExcel> getListExcel(AllocationQuery allocationQuery);




}
